#include "pch.h"
#include "Timer.h"

namespace TryEngine
{
    T_Timer::T_Timer():m_DeltaTime(0.0f),m_LastFrame(0.0f)
    {

    }

    T_Timer::~T_Timer()
    {

    }

    void T_Timer::Initialize()
    {
        
    }

    void T_Timer::Tick()
    {
        m_DeltaTime = (float)glfwGetTime() - m_LastFrame;
        m_LastFrame = (float)glfwGetTime();
    }

}